<?php $this->load->view('config/header');?>
<h2>Form <?php echo $mode?></h2>
<div class="line-separtor"></div>
<br/>	
	<a href="<?php echo site_url()?>saran" class="btn btn-primary"> Kembali ke daftar </a>
<br/>
<br/>
<form method="post" action="<?php echo site_url() ?>saran/<?php echo $action; ?>" class="form-horizontal">
	<input type="hidden" name="id_saran" value="<?php echo @$detail[0]['id_saran']?>">
	<input type="hidden" name="date_saran" value="<?php echo @$detail[0]['date_saran']?>">
	
	<div class="control-group">
		<label class="control-label" for="nama_saran">Nama penyaran</label>
		<div class="controls">
		  <input type="text" class="span5" name="nama_saran" value="<?php echo @$detail[0]['nama_saran']?>" >
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="email_saran">Email penyaran</label>
		<div class="controls">
		  <input type="email" class="span5" name="email_saran" value="<?php echo @$detail[0]['email_saran']?>" >
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="subjek_saran">Subjek saran</label>
		<div class="controls">
		  <input type="text" class="span5" name="subjek_saran" value="<?php echo @$detail[0]['subjek_saran']?>" >
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="subjek_saran">Pesan saran</label>
		<div class="controls">
			<textarea cols="800" rows="5"><?php echo @$detail[0]['pesan_saran']?></textarea>
		</div>
	</div>
	
	<div class="form-actions">
		<input type="submit" name="submit" value="Simpan" class="btn btn-primary"/>
		<a href="<?php echo site_url()?>saran" class="btn">Batal</a>
	</div>
</form>
<?php $this->load->view('config/footer');?>